const key = 'heimamm-mobile-token'

// 保存token

const setToken = value => {
  localStorage.setItem(key, value)
}

// 获取token
const getToken = () => {
  return localStorage.getItem(key)
}

// 删除token
const removeToken = value => {
  localStorage.removeItem(key)
}

export { setToken, getToken, removeToken }
